package com.sw.chinesewriteboard.model;

import androidx.annotation.DrawableRes;

/**
 * @Description:
 * @author: GordenGao
 * @Email: gordengao124@gmail.com
 * @date: 2021年06月23日 16:50
 */
public abstract class MyData {

    private String text;
    private MyTypeface myTypeface;
    private MyColor backgroundColor;
    private MyColor fontColor;
    private @DrawableRes
    int drwId;
    private int textSize;
    private float alpha = 1f;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public MyTypeface getMyTypeface() {
        return myTypeface;
    }

    public void setMyTypeface(MyTypeface myTypeface) {
        this.myTypeface = myTypeface;
    }

    public MyColor getBackgroundColor() {
        return backgroundColor;
    }

    public void setBackgroundColor(MyColor backgroundColor) {
        this.backgroundColor = backgroundColor;
    }

    public MyColor getFontColor() {
        return fontColor;
    }

    public void setFontColor(MyColor fontColor) {
        this.fontColor = fontColor;
    }

    public int getDrwId() {
        return drwId;
    }

    public void setDrwId(int drwId) {
        this.drwId = drwId;
    }

    public int getTextSize() {
        return textSize;
    }

    public void setTextSize(int textSize) {
        this.textSize = textSize;
    }

    public float getAlpha() {
        return alpha;
    }

    public void setAlpha(float alpha) {
        this.alpha = alpha;
    }
}
